.class Lcom/youdao/note/ui/audio/AudioRecordBar$2;
.super Landroid/content/BroadcastReceiver;
.source "AudioRecordBar.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/youdao/note/ui/audio/AudioRecordBar;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/youdao/note/ui/audio/AudioRecordBar;


# direct methods
.method constructor <init>(Lcom/youdao/note/ui/audio/AudioRecordBar;)V
    .locals 0
    .parameter

    .prologue
    .line 99
    iput-object p1, p0, Lcom/youdao/note/ui/audio/AudioRecordBar$2;->this$0:Lcom/youdao/note/ui/audio/AudioRecordBar;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 2
    .parameter "context"
    .parameter "intent"

    .prologue
    .line 103
    const-string v0, "android.intent.action.DEVICE_STORAGE_LOW"

    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 105
    iget-object v0, p0, Lcom/youdao/note/ui/audio/AudioRecordBar$2;->this$0:Lcom/youdao/note/ui/audio/AudioRecordBar;

    invoke-virtual {v0}, Lcom/youdao/note/ui/audio/AudioRecordBar;->pauseRecord()V

    .line 106
    iget-object v0, p0, Lcom/youdao/note/ui/audio/AudioRecordBar$2;->this$0:Lcom/youdao/note/ui/audio/AudioRecordBar;

    invoke-virtual {v0}, Lcom/youdao/note/ui/audio/AudioRecordBar;->getContext()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f0a0086

    invoke-static {v0, v1}, Lcom/youdao/note/utils/UIUtilities;->showToast(Landroid/content/Context;I)V

    .line 109
    :cond_0
    return-void
.end method
